[INFO] cloning repository https://github.com/higumachan/ray-tracing-in-one-week-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/higumachan/ray-tracing-in-one-week-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhigumachan%2Fray-tracing-in-one-week-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhigumachan%2Fray-tracing-in-one-week-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 41ca2bc4e396c40e30b0abd2d05c0792426b1d68
[INFO] building higumachan/ray-tracing-in-one-week-rust against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhigumachan%2Fray-tracing-in-one-week-rust" "/workspace/builds/worker-6/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/higumachan/ray-tracing-in-one-week-rust on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/higumachan/ray-tracing-in-one-week-rust
[INFO] finished tweaking git repo https://github.com/higumachan/ray-tracing-in-one-week-rust
[INFO] tweaked toml for git repo https://github.com/higumachan/ray-tracing-in-one-week-rust written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] crate git repo https://github.com/higumachan/ray-tracing-in-one-week-rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 03d5fb0ba0d406711ec1ef099f9a08817afc4c57122e2ede8387db8bcb43d435
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "03d5fb0ba0d406711ec1ef099f9a08817afc4c57122e2ede8387db8bcb43d435", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "03d5fb0ba0d406711ec1ef099f9a08817afc4c57122e2ede8387db8bcb43d435", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "03d5fb0ba0d406711ec1ef099f9a08817afc4c57122e2ede8387db8bcb43d435", kill_on_drop: false }`
[INFO] [stdout] 03d5fb0ba0d406711ec1ef099f9a08817afc4c57122e2ede8387db8bcb43d435
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e854ce1ac511bfdd992604df649bb01c278313fb8ad962423d8cebfb9b3cb189
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "e854ce1ac511bfdd992604df649bb01c278313fb8ad962423d8cebfb9b3cb189", kill_on_drop: false }`
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling libc v0.2.88
[INFO] [stderr]    Compiling getrandom v0.2.2
[INFO] [stderr]    Compiling rayon-core v1.9.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.10
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling unwrap-ord v0.1.1
[INFO] [stderr]    Compiling crossbeam-utils v0.8.3
[INFO] [stderr]    Compiling memoffset v0.6.1
[INFO] [stderr]    Compiling rayon v1.5.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.3
[INFO] [stderr]    Compiling crossbeam-channel v0.5.0
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling crossbeam-deque v0.8.0
[INFO] [stderr]    Compiling rand_core v0.6.2
[INFO] [stderr]    Compiling rand_chacha v0.3.0
[INFO] [stderr]    Compiling rand v0.8.3
[INFO] [stderr]    Compiling ray-tracing-in-one-week-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::cmp::min`
[INFO] [stdout]  --> src/bvh/aabb.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::cmp::min;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem::swap`
[INFO] [stdout]  --> src/bvh/aabb.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::mem::swap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Div`, `Sub`
[INFO] [stdout]  --> src/bvh/aabb.rs:5:16
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::ops::{Div, Sub};
[INFO] [stdout]   |                ^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/bvh/node.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/hit.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RngCore`
[INFO] [stdout]  --> src/material/dielectric.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rand::{Rng, RngCore};
[INFO] [stdout]   |                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `RngCore`, `thread_rng`
[INFO] [stdout]  --> src/material/lambertian.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | use rand::{thread_rng, RngCore};
[INFO] [stdout]   |            ^^^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]  --> src/material/lambertian.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::cell::RefCell;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::DerefMut`
[INFO] [stdout]   --> src/material/lambertian.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::ops::DerefMut;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::RngCore`
[INFO] [stdout]  --> src/material/material.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use rand::RngCore;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `RngCore`, `thread_rng`
[INFO] [stdout]  --> src/material/metal.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rand::{thread_rng, RngCore};
[INFO] [stdout]   |            ^^^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]  --> src/material/metal.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::cell::RefCell;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::DerefMut`
[INFO] [stdout]  --> src/material/metal.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::ops::DerefMut;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DerefMut`, `Deref`
[INFO] [stdout]  --> src/vector3.rs:6:32
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::ops::{Add, AddAssign, Deref, DerefMut, Div, Mul, MulAssign, Neg, Range, Sub, SubAssign};
[INFO] [stdout]   |                                ^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `point`
[INFO] [stdout]   --> src/bvh/node.rs:31:31
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn nearest_squared(&self, point: &Point3) -> f64 {
[INFO] [stdout]    |                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_point`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `point`
[INFO] [stdout]   --> src/bvh/node.rs:35:30
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn farest_squared(&self, point: &Point3) -> f64 {
[INFO] [stdout]    |                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_point`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `point`
[INFO] [stdout]    --> src/bvh/node.rs:163:31
[INFO] [stdout]     |
[INFO] [stdout] 163 |     fn nearest_squared(&self, point: &Point3) -> f64 {
[INFO] [stdout]     |                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_point`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `point`
[INFO] [stdout]    --> src/bvh/node.rs:167:30
[INFO] [stdout]     |
[INFO] [stdout] 167 |     fn farest_squared(&self, point: &Point3) -> f64 {
[INFO] [stdout]     |                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_point`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `point`
[INFO] [stdout]   --> src/hit_objects.rs:31:31
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn nearest_squared(&self, point: &Point3) -> f64 {
[INFO] [stdout]    |                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_point`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `point`
[INFO] [stdout]   --> src/hit_objects.rs:35:30
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn farest_squared(&self, point: &Point3) -> f64 {
[INFO] [stdout]    |                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_point`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `point`
[INFO] [stdout]   --> src/hit_objects.rs:95:31
[INFO] [stdout]    |
[INFO] [stdout] 95 |     fn nearest_squared(&self, point: &Point3) -> f64 {
[INFO] [stdout]    |                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_point`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `point`
[INFO] [stdout]   --> src/hit_objects.rs:99:30
[INFO] [stdout]    |
[INFO] [stdout] 99 |     fn farest_squared(&self, point: &Point3) -> f64 {
[INFO] [stdout]    |                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_point`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `point`
[INFO] [stdout]   --> src/moving_sphere.rs:32:31
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn nearest_squared(&self, point: &Point3) -> f64 {
[INFO] [stdout]    |                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_point`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `point`
[INFO] [stdout]   --> src/moving_sphere.rs:36:30
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn farest_squared(&self, point: &Point3) -> f64 {
[INFO] [stdout]    |                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_point`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `u`
[INFO] [stdout]   --> src/texture/solid_color.rs:16:21
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn value(&self, u: f64, v: f64, p: &Point3) -> Color {
[INFO] [stdout]    |                     ^ help: if this is intentional, prefix it with an underscore: `_u`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> src/texture/solid_color.rs:16:29
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn value(&self, u: f64, v: f64, p: &Point3) -> Color {
[INFO] [stdout]    |                             ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]   --> src/texture/solid_color.rs:16:37
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn value(&self, u: f64, v: f64, p: &Point3) -> Color {
[INFO] [stdout]    |                                     ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `w`
[INFO] [stdout]   --> src/camera.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     w: Vector3,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 28 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 13.23s
[INFO] running `Command { std: "docker" "inspect" "e854ce1ac511bfdd992604df649bb01c278313fb8ad962423d8cebfb9b3cb189", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e854ce1ac511bfdd992604df649bb01c278313fb8ad962423d8cebfb9b3cb189", kill_on_drop: false }`
[INFO] [stdout] e854ce1ac511bfdd992604df649bb01c278313fb8ad962423d8cebfb9b3cb189
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b13f5f8e973b23c657339212ff54eb741b1567f8ba359c059255475e08996f85
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "b13f5f8e973b23c657339212ff54eb741b1567f8ba359c059255475e08996f85", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.124
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]    Compiling serde_json v1.0.64
[INFO] [stderr]    Compiling itoa v0.4.7
[INFO] [stderr]    Compiling byteorder v1.4.2
[INFO] [stderr]    Compiling syn v1.0.62
[INFO] [stderr]    Compiling serde_derive v1.0.124
[INFO] [stderr]    Compiling plotters-backend v0.3.0
[INFO] [stderr]    Compiling regex-syntax v0.6.22
[INFO] [stderr]    Compiling oorandom v11.1.3
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling itertools v0.9.0
[INFO] [stderr]    Compiling itertools v0.10.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stdout] warning: unused import: `std::cmp::min`
[INFO] [stdout]  --> src/bvh/aabb.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::cmp::min;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem::swap`
[INFO] [stdout]  --> src/bvh/aabb.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::mem::swap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Div`, `Sub`
[INFO] [stdout]  --> src/bvh/aabb.rs:5:16
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::ops::{Div, Sub};
[INFO] [stdout]   |                ^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/bvh/node.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/hit.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::rc::Rc;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RngCore`
[INFO] [stdout]  --> src/material/dielectric.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rand::{Rng, RngCore};
[INFO] [stdout]   |                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `RngCore`, `thread_rng`
[INFO] [stdout]  --> src/material/lambertian.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | use rand::{thread_rng, RngCore};
[INFO] [stdout]   |            ^^^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]  --> src/material/lambertian.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::cell::RefCell;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::DerefMut`
[INFO] [stdout]   --> src/material/lambertian.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::ops::DerefMut;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::RngCore`
[INFO] [stdout]  --> src/material/material.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use rand::RngCore;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `RngCore`, `thread_rng`
[INFO] [stdout]  --> src/material/metal.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rand::{thread_rng, RngCore};
[INFO] [stdout]   |            ^^^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cell::RefCell`
[INFO] [stdout]  --> src/material/metal.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::cell::RefCell;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::DerefMut`
[INFO] [stdout]  --> src/material/metal.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::ops::DerefMut;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DerefMut`, `Deref`
[INFO] [stdout]  --> src/vector3.rs:6:32
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::ops::{Add, AddAssign, Deref, DerefMut, Div, Mul, MulAssign, Neg, Range, Sub, SubAssign};
[INFO] [stdout]   |                                ^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `point`
[INFO] [stdout]   --> src/bvh/node.rs:31:31
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn nearest_squared(&self, point: &Point3) -> f64 {
[INFO] [stdout]    |                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_point`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `point`
[INFO] [stdout]   --> src/bvh/node.rs:35:30
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn farest_squared(&self, point: &Point3) -> f64 {
[INFO] [stdout]    |                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_point`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `point`
[INFO] [stdout]    --> src/bvh/node.rs:163:31
[INFO] [stdout]     |
[INFO] [stdout] 163 |     fn nearest_squared(&self, point: &Point3) -> f64 {
[INFO] [stdout]     |                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_point`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `point`
[INFO] [stdout]    --> src/bvh/node.rs:167:30
[INFO] [stdout]     |
[INFO] [stdout] 167 |     fn farest_squared(&self, point: &Point3) -> f64 {
[INFO] [stdout]     |                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_point`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `point`
[INFO] [stdout]   --> src/hit_objects.rs:31:31
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn nearest_squared(&self, point: &Point3) -> f64 {
[INFO] [stdout]    |                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_point`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `point`
[INFO] [stdout]   --> src/hit_objects.rs:35:30
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn farest_squared(&self, point: &Point3) -> f64 {
[INFO] [stdout]    |                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_point`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `point`
[INFO] [stdout]   --> src/hit_objects.rs:95:31
[INFO] [stdout]    |
[INFO] [stdout] 95 |     fn nearest_squared(&self, point: &Point3) -> f64 {
[INFO] [stdout]    |                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_point`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `point`
[INFO] [stdout]   --> src/hit_objects.rs:99:30
[INFO] [stdout]    |
[INFO] [stdout] 99 |     fn farest_squared(&self, point: &Point3) -> f64 {
[INFO] [stdout]    |                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_point`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `point`
[INFO] [stdout]   --> src/moving_sphere.rs:32:31
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn nearest_squared(&self, point: &Point3) -> f64 {
[INFO] [stdout]    |                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_point`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `point`
[INFO] [stdout]   --> src/moving_sphere.rs:36:30
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn farest_squared(&self, point: &Point3) -> f64 {
[INFO] [stdout]    |                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_point`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `u`
[INFO] [stdout]   --> src/texture/solid_color.rs:16:21
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn value(&self, u: f64, v: f64, p: &Point3) -> Color {
[INFO] [stdout]    |                     ^ help: if this is intentional, prefix it with an underscore: `_u`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]   --> src/texture/solid_color.rs:16:29
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn value(&self, u: f64, v: f64, p: &Point3) -> Color {
[INFO] [stdout]    |                             ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]   --> src/texture/solid_color.rs:16:37
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn value(&self, u: f64, v: f64, p: &Point3) -> Color {
[INFO] [stdout]    |                                     ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `w`
[INFO] [stdout]   --> src/camera.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     w: Vector3,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 28 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling regex-automata v0.1.9
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling plotters-svg v0.3.0
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling csv-core v0.1.10
[INFO] [stderr]    Compiling cast v0.2.3
[INFO] [stderr]    Compiling plotters v0.3.0
[INFO] [stderr]    Compiling criterion-plot v0.4.3
[INFO] [stderr]    Compiling regex v1.4.3
[INFO] [stderr]    Compiling bstr v0.2.15
[INFO] [stderr]    Compiling serde_cbor v0.11.1
[INFO] [stderr]    Compiling csv v1.1.5
[INFO] [stderr]    Compiling tinytemplate v1.2.1
[INFO] [stderr]    Compiling criterion v0.3.4
[INFO] [stderr]    Compiling ray-tracing-in-one-week-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::collections::hash_map::RandomState`
[INFO] [stdout]   --> examples/10_5_total_internal_reflection.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::collections::hash_map::RandomState;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::sleep`
[INFO] [stdout]   --> examples/10_5_total_internal_reflection.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::thread::sleep;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]   --> examples/10_5_total_internal_reflection.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use std::time::Duration;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]   --> examples/10_5_total_internal_reflection.rs:99:18
[INFO] [stdout]    |
[INFO] [stdout] 99 |         for i in (0..image_width) {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::hash_map::RandomState`
[INFO] [stdout]  --> examples/8_3_using_gamma_correction_for_accurate_color_intensity.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::collections::hash_map::RandomState;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::sleep`
[INFO] [stdout]   --> examples/8_3_using_gamma_correction_for_accurate_color_intensity.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::thread::sleep;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]   --> examples/8_3_using_gamma_correction_for_accurate_color_intensity.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::time::Duration;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ray_tracing_in_one_week_rust::to_pixel_value`
[INFO] [stdout]  --> examples/3_3_color_utility_functions.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ray_tracing_in_one_week_rust::to_pixel_value;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::sleep`
[INFO] [stdout]  --> examples/6_7_common_constants_and_utility_functions.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::thread::sleep;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::hash_map::RandomState`
[INFO] [stdout]  --> examples/8_4_fixing_shadow_acne.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::collections::hash_map::RandomState;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::sleep`
[INFO] [stdout]   --> examples/8_4_fixing_shadow_acne.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::thread::sleep;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]   --> examples/8_4_fixing_shadow_acne.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::time::Duration;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]  --> examples/6_7_common_constants_and_utility_functions.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::time::Duration;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::hash_map::RandomState`
[INFO] [stdout]   --> examples/10_2_snells_law.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::collections::hash_map::RandomState;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::sleep`
[INFO] [stdout]   --> examples/10_2_snells_law.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::thread::sleep;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]   --> examples/10_2_snells_law.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use std::time::Duration;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]   --> examples/10_2_snells_law.rs:94:18
[INFO] [stdout]    |
[INFO] [stdout] 94 |         for i in (0..image_width) {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]   --> examples/8_3_using_gamma_correction_for_accurate_color_intensity.rs:24:14
[INFO] [stdout]    |
[INFO] [stdout] 24 |             &Ray::new(r.point().clone(), &target - r.point()),
[INFO] [stdout]    |              ^^^^^^^^ -----------------  ------------------- supplied 2 arguments
[INFO] [stdout]    |              |
[INFO] [stdout]    |              expected 3 arguments
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/ray.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 |     pub fn new(origin: Point3, direction: Vector3, time: f64) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]   --> examples/8_4_fixing_shadow_acne.rs:24:14
[INFO] [stdout]    |
[INFO] [stdout] 24 |             &Ray::new(r.point().clone(), &target - r.point()),
[INFO] [stdout]    |              ^^^^^^^^ -----------------  ------------------- supplied 2 arguments
[INFO] [stdout]    |              |
[INFO] [stdout]    |              expected 3 arguments
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/ray.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 |     pub fn new(origin: Point3, direction: Vector3, time: f64) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]   --> examples/8_4_fixing_shadow_acne.rs:58:24
[INFO] [stdout]    |
[INFO] [stdout] 58 |     world.add(Box::new(Sphere::new(Point3::new_z(-1.0), 0.5)));
[INFO] [stdout]    |                        ^^^^^^^^^^^ -------------------  --- supplied 2 arguments
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        expected 3 arguments
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/sphere.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub fn new(center: Point3, radius: f64, material: Arc<dyn Material>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]   --> examples/8_3_using_gamma_correction_for_accurate_color_intensity.rs:58:24
[INFO] [stdout]    |
[INFO] [stdout] 58 |     world.add(Box::new(Sphere::new(Point3::new_z(-1.0), 0.5)));
[INFO] [stdout]    |                        ^^^^^^^^^^^ -------------------  --- supplied 2 arguments
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        expected 3 arguments
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/sphere.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub fn new(center: Point3, radius: f64, material: Arc<dyn Material>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::sleep`
[INFO] [stdout]  --> examples/4_2_sending_rays_into_the_scene.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::thread::sleep;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]  --> examples/4_2_sending_rays_into_the_scene.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::time::Duration;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HitRecord`
[INFO] [stdout]  --> examples/15_1_parallel_with_bvh.rs:5:46
[INFO] [stdout]   |
[INFO] [stdout] 5 | use ray_tracing_in_one_week_rust::hit::{Hit, HitRecord};
[INFO] [stdout]   |                                              ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::hash_map::RandomState`
[INFO] [stdout]   --> examples/15_1_parallel_with_bvh.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::collections::hash_map::RandomState;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::sleep`
[INFO] [stdout]   --> examples/15_1_parallel_with_bvh.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use std::thread::sleep;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]   --> examples/15_1_parallel_with_bvh.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use std::time::Duration;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]    --> examples/15_1_parallel_with_bvh.rs:149:18
[INFO] [stdout]     |
[INFO] [stdout] 149 |         for i in (0..image_width) {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::hash_map::RandomState`
[INFO] [stdout]   --> examples/10_3_total_internal_reflection.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::collections::hash_map::RandomState;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::sleep`
[INFO] [stdout]   --> examples/10_3_total_internal_reflection.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::thread::sleep;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]   --> examples/10_3_total_internal_reflection.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use std::time::Duration;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]   --> examples/10_3_total_internal_reflection.rs:94:18
[INFO] [stdout]    |
[INFO] [stdout] 94 |         for i in (0..image_width) {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HitRecord`
[INFO] [stdout]  --> examples/n_2_5_putting_everything_together.rs:4:46
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ray_tracing_in_one_week_rust::hit::{Hit, HitRecord};
[INFO] [stdout]   |                                              ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::hash_map::RandomState`
[INFO] [stdout]   --> examples/n_2_5_putting_everything_together.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::collections::hash_map::RandomState;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::sleep`
[INFO] [stdout]   --> examples/n_2_5_putting_everything_together.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use std::thread::sleep;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]   --> examples/n_2_5_putting_everything_together.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use std::time::Duration;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]    --> examples/n_2_5_putting_everything_together.rs:164:18
[INFO] [stdout]     |
[INFO] [stdout] 164 |         for i in (0..image_width) {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]   --> examples/4_2_sending_rays_into_the_scene.rs:45:21
[INFO] [stdout]    |
[INFO] [stdout] 45 |             let r = Ray::new(
[INFO] [stdout]    |                     ^^^^^^^^ expected 3 arguments
[INFO] [stdout] 46 |                 origin.clone(),
[INFO] [stdout]    |                 --------------
[INFO] [stdout] 47 |                 &lower_left_corner + &hv + vv - Vector3::from(origin.clone()),
[INFO] [stdout]    |                 ------------------------------------------------------------- supplied 2 arguments
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/ray.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 |     pub fn new(origin: Point3, direction: Vector3, time: f64) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]   --> examples/6_7_common_constants_and_utility_functions.rs:38:24
[INFO] [stdout]    |
[INFO] [stdout] 38 |     world.add(Box::new(Sphere::new(Point3::new_z(-1.0), 0.5)));
[INFO] [stdout]    |                        ^^^^^^^^^^^ -------------------  --- supplied 2 arguments
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        expected 3 arguments
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/sphere.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub fn new(center: Point3, radius: f64, material: Arc<dyn Material>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ray-tracing-in-one-week-rust`
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> examples/10_5_total_internal_reflection.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 |         material_ground,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ expected struct `Arc`, found struct `Rc`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Arc<(dyn Material + 'static)>`
[INFO] [stdout]               found struct `Rc<Lambertian>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused import: `HitRecord`
[INFO] [stdout]  --> examples/14_1_parallel.rs:4:46
[INFO] [stdout]   |
[INFO] [stdout] 4 | use ray_tracing_in_one_week_rust::hit::{Hit, HitRecord};
[INFO] [stdout]   |                                              ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::hash_map::RandomState`
[INFO] [stdout]   --> examples/14_1_parallel.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::collections::hash_map::RandomState;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::sleep`
[INFO] [stdout]   --> examples/14_1_parallel.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use std::thread::sleep;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]   --> examples/14_1_parallel.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use std::time::Duration;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]    --> examples/14_1_parallel.rs:147:18
[INFO] [stdout]     |
[INFO] [stdout] 147 |         for i in (0..image_width) {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> examples/10_5_total_internal_reflection.rs:62:15
[INFO] [stdout]    |
[INFO] [stdout] 62 |       world.add(Box::new(Sphere::new(
[INFO] [stdout]    |  _______________^
[INFO] [stdout] 63 | |         Point3::new(0.0, -100.5, -1.0),
[INFO] [stdout] 64 | |         100.0,
[INFO] [stdout] 65 | |         material_ground,
[INFO] [stdout] 66 | |     )));
[INFO] [stdout]    | |______^ expected enum `HitObject`, found struct `Box`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `HitObject`
[INFO] [stdout]             found struct `Box<ray_tracing_in_one_week_rust::sphere::Sphere>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ray_tracing_in_one_week_rust::material::material::Material`
[INFO] [stdout]  --> examples/n_2_5_putting_everything_together.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use ray_tracing_in_one_week_rust::material::material::Material;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> examples/10_5_total_internal_reflection.rs:70:9
[INFO] [stdout]    |
[INFO] [stdout] 70 |         material_center,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ expected struct `Arc`, found struct `Rc`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Arc<(dyn Material + 'static)>`
[INFO] [stdout]               found struct `Rc<Lambertian>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> examples/8_4_fixing_shadow_acne.rs:58:15
[INFO] [stdout]    |
[INFO] [stdout] 58 |     world.add(Box::new(Sphere::new(Point3::new_z(-1.0), 0.5)));
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `HitObject`, found struct `Box`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `HitObject`
[INFO] [stdout]             found struct `Box<ray_tracing_in_one_week_rust::sphere::Sphere>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]   --> examples/8_4_fixing_shadow_acne.rs:59:24
[INFO] [stdout]    |
[INFO] [stdout] 59 |     world.add(Box::new(Sphere::new(Point3::new(0.0, -100.5, -1.0), 100.0)));
[INFO] [stdout]    |                        ^^^^^^^^^^^ ------------------------------  ----- supplied 2 arguments
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        expected 3 arguments
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/sphere.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub fn new(center: Point3, radius: f64, material: Arc<dyn Material>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> examples/8_4_fixing_shadow_acne.rs:59:15
[INFO] [stdout]    |
[INFO] [stdout] 59 |     world.add(Box::new(Sphere::new(Point3::new(0.0, -100.5, -1.0), 100.0)));
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `HitObject`, found struct `Box`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `HitObject`
[INFO] [stdout]             found struct `Box<ray_tracing_in_one_week_rust::sphere::Sphere>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]   --> examples/8_4_fixing_shadow_acne.rs:77:36
[INFO] [stdout]    |
[INFO] [stdout] 77 |                     let r = camera.ray(u, v);
[INFO] [stdout]    |                                    ^^^ -  - supplied 2 arguments
[INFO] [stdout]    |                                    |
[INFO] [stdout]    |                                    expected 3 arguments
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/camera.rs:67:12
[INFO] [stdout]    |
[INFO] [stdout] 67 |     pub fn ray<R: RngCore>(&self, rng: &mut R, s: f64, t: f64) -> Ray {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 9 arguments but 7 arguments were supplied
[INFO] [stdout]    --> examples/14_1_parallel.rs:127:18
[INFO] [stdout]     |
[INFO] [stdout] 127 |     let camera = Camera::new(
[INFO] [stdout]     |                  ^^^^^^^^^^^ expected 9 arguments
[INFO] [stdout] 128 |         look_from,
[INFO] [stdout]     |         ---------
[INFO] [stdout] 129 |         look_at,
[INFO] [stdout]     |         -------
[INFO] [stdout] 130 |         vup,
[INFO] [stdout]     |         ---
[INFO] [stdout] 131 |         20.0,
[INFO] [stdout]     |         ----
[INFO] [stdout] 132 |         aspect_ratio,
[INFO] [stdout]     |         ------------
[INFO] [stdout] 133 |         aperture,
[INFO] [stdout]     |         --------
[INFO] [stdout] 134 |         dist_to_focus,
[INFO] [stdout]     |         ------------- supplied 7 arguments
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /opt/rustwide/workdir/src/camera.rs:26:12
[INFO] [stdout]     |
[INFO] [stdout] 26  |     pub fn new(
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `ray_tracing_in_one_week_rust::lambertian`
[INFO] [stdout]  --> examples/9_5_a_scene_with_metal_spheres.rs:6:35
[INFO] [stdout]   |
[INFO] [stdout] 6 | use ray_tracing_in_one_week_rust::lambertian::Lambertian;
[INFO] [stdout]   |                                   ^^^^^^^^^^ could not find `lambertian` in `ray_tracing_in_one_week_rust`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `ray_tracing_in_one_week_rust::metal`
[INFO] [stdout]  --> examples/9_5_a_scene_with_metal_spheres.rs:7:35
[INFO] [stdout]   |
[INFO] [stdout] 7 | use ray_tracing_in_one_week_rust::metal::Metal;
[INFO] [stdout]   |                                   ^^^^^ could not find `metal` in `ray_tracing_in_one_week_rust`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `ray_tracing_in_one_week_rust::lambertian`
[INFO] [stdout]  --> examples/9_3_modeling_light_scatter_and_reflectance.rs:6:35
[INFO] [stdout]   |
[INFO] [stdout] 6 | use ray_tracing_in_one_week_rust::lambertian::Lambertian;
[INFO] [stdout]   |                                   ^^^^^^^^^^ could not find `lambertian` in `ray_tracing_in_one_week_rust`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::hash_map::RandomState`
[INFO] [stdout]   --> examples/9_3_modeling_light_scatter_and_reflectance.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::collections::hash_map::RandomState;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::sleep`
[INFO] [stdout]   --> examples/9_3_modeling_light_scatter_and_reflectance.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::thread::sleep;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]   --> examples/9_3_modeling_light_scatter_and_reflectance.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::time::Duration;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> examples/10_5_total_internal_reflection.rs:67:15
[INFO] [stdout]    |
[INFO] [stdout] 67 |       world.add(Box::new(Sphere::new(
[INFO] [stdout]    |  _______________^
[INFO] [stdout] 68 | |         Point3::new_z(-1.0),
[INFO] [stdout] 69 | |         0.5,
[INFO] [stdout] 70 | |         material_center,
[INFO] [stdout] 71 | |     )));
[INFO] [stdout]    | |______^ expected enum `HitObject`, found struct `Box`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `HitObject`
[INFO] [stdout]             found struct `Box<ray_tracing_in_one_week_rust::sphere::Sphere>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::hash_map::RandomState`
[INFO] [stdout]   --> examples/9_5_a_scene_with_metal_spheres.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::collections::hash_map::RandomState;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::sleep`
[INFO] [stdout]   --> examples/9_5_a_scene_with_metal_spheres.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::thread::sleep;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]   --> examples/9_5_a_scene_with_metal_spheres.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::time::Duration;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `ray_tracing_in_one_week_rust::lambertian`
[INFO] [stdout]  --> examples/9_6_fuzzy_reflection.rs:6:35
[INFO] [stdout]   |
[INFO] [stdout] 6 | use ray_tracing_in_one_week_rust::lambertian::Lambertian;
[INFO] [stdout]   |                                   ^^^^^^^^^^ could not find `lambertian` in `ray_tracing_in_one_week_rust`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `ray_tracing_in_one_week_rust::metal`
[INFO] [stdout]  --> examples/9_6_fuzzy_reflection.rs:7:35
[INFO] [stdout]   |
[INFO] [stdout] 7 | use ray_tracing_in_one_week_rust::metal::Metal;
[INFO] [stdout]   |                                   ^^^^^ could not find `metal` in `ray_tracing_in_one_week_rust`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::hash_map::RandomState`
[INFO] [stdout]   --> examples/9_6_fuzzy_reflection.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::collections::hash_map::RandomState;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread::sleep`
[INFO] [stdout]   --> examples/9_6_fuzzy_reflection.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::thread::sleep;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]   --> examples/9_6_fuzzy_reflection.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::time::Duration;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]    --> examples/9_6_fuzzy_reflection.rs:103:18
[INFO] [stdout]     |
[INFO] [stdout] 103 |         for i in (0..image_width) {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]   --> examples/9_3_modeling_light_scatter_and_reflectance.rs:25:18
[INFO] [stdout]    |
[INFO] [stdout] 25 |                 .scatter(ray, &r)
[INFO] [stdout]    |                  ^^^^^^^ ---  -- supplied 2 arguments
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  expected 3 arguments
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/material/material.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn scatter(
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> examples/10_5_total_internal_reflection.rs:75:9
[INFO] [stdout]    |
[INFO] [stdout] 75 |         material_left.clone(),
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^ expected struct `Arc`, found struct `Rc`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Arc<(dyn Material + 'static)>`
[INFO] [stdout]               found struct `Rc<Dielectric>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> examples/8_3_using_gamma_correction_for_accurate_color_intensity.rs:58:15
[INFO] [stdout]    |
[INFO] [stdout] 58 |     world.add(Box::new(Sphere::new(Point3::new_z(-1.0), 0.5)));
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `HitObject`, found struct `Box`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `HitObject`
[INFO] [stdout]             found struct `Box<ray_tracing_in_one_week_rust::sphere::Sphere>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]   --> examples/8_3_using_gamma_correction_for_accurate_color_intensity.rs:59:24
[INFO] [stdout]    |
[INFO] [stdout] 59 |     world.add(Box::new(Sphere::new(Point3::new(0.0, -100.5, -1.0), 100.0)));
[INFO] [stdout]    |                        ^^^^^^^^^^^ ------------------------------  ----- supplied 2 arguments
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        expected 3 arguments
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/sphere.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub fn new(center: Point3, radius: f64, material: Arc<dyn Material>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]   --> examples/9_5_a_scene_with_metal_spheres.rs:26:18
[INFO] [stdout]    |
[INFO] [stdout] 26 |                 .scatter(ray, &r)
[INFO] [stdout]    |                  ^^^^^^^ ---  -- supplied 2 arguments
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  expected 3 arguments
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/material/material.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn scatter(
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> examples/10_5_total_internal_reflection.rs:72:15
[INFO] [stdout]    |
[INFO] [stdout] 72 |       world.add(Box::new(Sphere::new(
[INFO] [stdout]    |  _______________^
[INFO] [stdout] 73 | |         Point3::new(-1.0, 0.0, -1.0),
[INFO] [stdout] 74 | |         0.5,
[INFO] [stdout] 75 | |         material_left.clone(),
[INFO] [stdout] 76 | |     )));
[INFO] [stdout]    | |______^ expected enum `HitObject`, found struct `Box`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `HitObject`
[INFO] [stdout]             found struct `Box<ray_tracing_in_one_week_rust::sphere::Sphere>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]   --> examples/9_6_fuzzy_reflection.rs:26:18
[INFO] [stdout]    |
[INFO] [stdout] 26 |                 .scatter(ray, &r)
[INFO] [stdout]    |                  ^^^^^^^ ---  -- supplied 2 arguments
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  expected 3 arguments
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/material/material.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn scatter(
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> examples/10_5_total_internal_reflection.rs:80:9
[INFO] [stdout]    |
[INFO] [stdout] 80 |         material_left,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ expected struct `Arc`, found struct `Rc`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Arc<(dyn Material + 'static)>`
[INFO] [stdout]               found struct `Rc<Dielectric>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> examples/10_5_total_internal_reflection.rs:77:15
[INFO] [stdout]    |
[INFO] [stdout] 77 |       world.add(Box::new(Sphere::new(
[INFO] [stdout]    |  _______________^
[INFO] [stdout] 78 | |         Point3::new(-1.0, 0.0, -1.0),
[INFO] [stdout] 79 | |         -0.4,
[INFO] [stdout] 80 | |         material_left,
[INFO] [stdout] 81 | |     )));
[INFO] [stdout]    | |______^ expected enum `HitObject`, found struct `Box`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `HitObject`
[INFO] [stdout]             found struct `Box<ray_tracing_in_one_week_rust::sphere::Sphere>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> examples/8_3_using_gamma_correction_for_accurate_color_intensity.rs:59:15
[INFO] [stdout]    |
[INFO] [stdout] 59 |     world.add(Box::new(Sphere::new(Point3::new(0.0, -100.5, -1.0), 100.0)));
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `HitObject`, found struct `Box`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `HitObject`
[INFO] [stdout]             found struct `Box<ray_tracing_in_one_week_rust::sphere::Sphere>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]   --> examples/8_3_using_gamma_correction_for_accurate_color_intensity.rs:77:36
[INFO] [stdout]    |
[INFO] [stdout] 77 |                     let r = camera.ray(u, v);
[INFO] [stdout]    |                                    ^^^ -  - supplied 2 arguments
[INFO] [stdout]    |                                    |
[INFO] [stdout]    |                                    expected 3 arguments
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/camera.rs:67:12
[INFO] [stdout]    |
[INFO] [stdout] 67 |     pub fn ray<R: RngCore>(&self, rng: &mut R, s: f64, t: f64) -> Ray {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> examples/10_5_total_internal_reflection.rs:85:9
[INFO] [stdout]    |
[INFO] [stdout] 85 |         material_right,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ expected struct `Arc`, found struct `Rc`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Arc<(dyn Material + 'static)>`
[INFO] [stdout]               found struct `Rc<Metal>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> examples/6_7_common_constants_and_utility_functions.rs:38:15
[INFO] [stdout]    |
[INFO] [stdout] 38 |     world.add(Box::new(Sphere::new(Point3::new_z(-1.0), 0.5)));
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `HitObject`, found struct `Box`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `HitObject`
[INFO] [stdout]             found struct `Box<ray_tracing_in_one_week_rust::sphere::Sphere>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]   --> examples/6_7_common_constants_and_utility_functions.rs:39:24
[INFO] [stdout]    |
[INFO] [stdout] 39 |     world.add(Box::new(Sphere::new(Point3::new(0.0, -100.5, -1.0), 100.0)));
[INFO] [stdout]    |                        ^^^^^^^^^^^ ------------------------------  ----- supplied 2 arguments
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        expected 3 arguments
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/sphere.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub fn new(center: Point3, radius: f64, material: Arc<dyn Material>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> examples/10_3_total_internal_reflection.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 65 |         material_ground,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ expected struct `Arc`, found struct `Rc`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Arc<(dyn Material + 'static)>`
[INFO] [stdout]               found struct `Rc<Lambertian>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> examples/6_7_common_constants_and_utility_functions.rs:39:15
[INFO] [stdout]    |
[INFO] [stdout] 39 |     world.add(Box::new(Sphere::new(Point3::new(0.0, -100.5, -1.0), 100.0)));
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `HitObject`, found struct `Box`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `HitObject`
[INFO] [stdout]             found struct `Box<ray_tracing_in_one_week_rust::sphere::Sphere>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> examples/10_3_total_internal_reflection.rs:62:15
[INFO] [stdout]    |
[INFO] [stdout] 62 |       world.add(Box::new(Sphere::new(
[INFO] [stdout]    |  _______________^
[INFO] [stdout] 63 | |         Point3::new(0.0, -100.5, -1.0),
[INFO] [stdout] 64 | |         100.0,
[INFO] [stdout] 65 | |         material_ground,
[INFO] [stdout] 66 | |     )));
[INFO] [stdout]    | |______^ expected enum `HitObject`, found struct `Box`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `HitObject`
[INFO] [stdout]             found struct `Box<ray_tracing_in_one_week_rust::sphere::Sphere>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]   --> examples/6_7_common_constants_and_utility_functions.rs:68:21
[INFO] [stdout]    |
[INFO] [stdout] 68 |             let r = Ray::new(
[INFO] [stdout]    |                     ^^^^^^^^ expected 3 arguments
[INFO] [stdout] 69 |                 origin.clone(),
[INFO] [stdout]    |                 --------------
[INFO] [stdout] 70 |                 &lower_left_corner + &hv + vv - Vector3::from(origin.clone()),
[INFO] [stdout]    |                 ------------------------------------------------------------- supplied 2 arguments
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/ray.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 |     pub fn new(origin: Point3, direction: Vector3, time: f64) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> examples/10_3_total_internal_reflection.rs:70:9
[INFO] [stdout]    |
[INFO] [stdout] 70 |         material_center,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ expected struct `Arc`, found struct `Rc`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Arc<(dyn Material + 'static)>`
[INFO] [stdout]               found struct `Rc<Lambertian>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> examples/10_5_total_internal_reflection.rs:82:15
[INFO] [stdout]    |
[INFO] [stdout] 82 |       world.add(Box::new(Sphere::new(
[INFO] [stdout]    |  _______________^
[INFO] [stdout] 83 | |         Point3::new(1.0, 0.0, -1.0),
[INFO] [stdout] 84 | |         0.5,
[INFO] [stdout] 85 | |         material_right,
[INFO] [stdout] 86 | |     )));
[INFO] [stdout]    | |______^ expected enum `HitObject`, found struct `Box`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `HitObject`
[INFO] [stdout]             found struct `Box<ray_tracing_in_one_week_rust::sphere::Sphere>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]    --> examples/10_5_total_internal_reflection.rs:104:36
[INFO] [stdout]     |
[INFO] [stdout] 104 |                     let r = camera.ray(u, v);
[INFO] [stdout]     |                                    ^^^ -  - supplied 2 arguments
[INFO] [stdout]     |                                    |
[INFO] [stdout]     |                                    expected 3 arguments
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /opt/rustwide/workdir/src/camera.rs:67:12
[INFO] [stdout]     |
[INFO] [stdout] 67  |     pub fn ray<R: RngCore>(&self, rng: &mut R, s: f64, t: f64) -> Ray {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> examples/10_3_total_internal_reflection.rs:67:15
[INFO] [stdout]    |
[INFO] [stdout] 67 |       world.add(Box::new(Sphere::new(
[INFO] [stdout]    |  _______________^
[INFO] [stdout] 68 | |         Point3::new_z(-1.0),
[INFO] [stdout] 69 | |         0.5,
[INFO] [stdout] 70 | |         material_center,
[INFO] [stdout] 71 | |     )));
[INFO] [stdout]    | |______^ expected enum `HitObject`, found struct `Box`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `HitObject`
[INFO] [stdout]             found struct `Box<ray_tracing_in_one_week_rust::sphere::Sphere>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> examples/10_3_total_internal_reflection.rs:75:9
[INFO] [stdout]    |
[INFO] [stdout] 75 |         material_left,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ expected struct `Arc`, found struct `Rc`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Arc<(dyn Material + 'static)>`
[INFO] [stdout]               found struct `Rc<Dielectric>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> examples/9_3_modeling_light_scatter_and_reflectance.rs:69:9
[INFO] [stdout]    |
[INFO] [stdout] 69 |         Rc::new(Lambertian::new(color.clone())),
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Arc`, found struct `Rc`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Arc<(dyn Material + 'static)>`
[INFO] [stdout]               found struct `Rc<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> examples/10_3_total_internal_reflection.rs:72:15
[INFO] [stdout]    |
[INFO] [stdout] 72 |       world.add(Box::new(Sphere::new(
[INFO] [stdout]    |  _______________^
[INFO] [stdout] 73 | |         Point3::new(-1.0, 0.0, -1.0),
[INFO] [stdout] 74 | |         0.5,
[INFO] [stdout] 75 | |         material_left,
[INFO] [stdout] 76 | |     )));
[INFO] [stdout]    | |______^ expected enum `HitObject`, found struct `Box`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `HitObject`
[INFO] [stdout]             found struct `Box<ray_tracing_in_one_week_rust::sphere::Sphere>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> examples/9_5_a_scene_with_metal_spheres.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 74 |         material_ground,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ expected struct `Arc`, found struct `Rc`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Arc<(dyn Material + 'static)>`
[INFO] [stdout]               found struct `Rc<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> examples/10_3_total_internal_reflection.rs:80:9
[INFO] [stdout]    |
[INFO] [stdout] 80 |         material_right,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ expected struct `Arc`, found struct `Rc`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Arc<(dyn Material + 'static)>`
[INFO] [stdout]               found struct `Rc<Metal>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> examples/9_6_fuzzy_reflection.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 74 |         material_ground,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ expected struct `Arc`, found struct `Rc`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Arc<(dyn Material + 'static)>`
[INFO] [stdout]               found struct `Rc<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> examples/10_3_total_internal_reflection.rs:77:15
[INFO] [stdout]    |
[INFO] [stdout] 77 |       world.add(Box::new(Sphere::new(
[INFO] [stdout]    |  _______________^
[INFO] [stdout] 78 | |         Point3::new(1.0, 0.0, -1.0),
[INFO] [stdout] 79 | |         0.5,
[INFO] [stdout] 80 | |         material_right,
[INFO] [stdout] 81 | |     )));
[INFO] [stdout]    | |______^ expected enum `HitObject`, found struct `Box`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `HitObject`
[INFO] [stdout]             found struct `Box<ray_tracing_in_one_week_rust::sphere::Sphere>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]   --> examples/10_3_total_internal_reflection.rs:99:36
[INFO] [stdout]    |
[INFO] [stdout] 99 |                     let r = camera.ray(u, v);
[INFO] [stdout]    |                                    ^^^ -  - supplied 2 arguments
[INFO] [stdout]    |                                    |
[INFO] [stdout]    |                                    expected 3 arguments
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/camera.rs:67:12
[INFO] [stdout]    |
[INFO] [stdout] 67 |     pub fn ray<R: RngCore>(&self, rng: &mut R, s: f64, t: f64) -> Ray {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> examples/9_5_a_scene_with_metal_spheres.rs:71:15
[INFO] [stdout]    |
[INFO] [stdout] 71 |       world.add(Box::new(Sphere::new(
[INFO] [stdout]    |  _______________^
[INFO] [stdout] 72 | |         Point3::new(0.0, -100.5, -1.0),
[INFO] [stdout] 73 | |         100.0,
[INFO] [stdout] 74 | |         material_ground,
[INFO] [stdout] 75 | |     )));
[INFO] [stdout]    | |______^ expected enum `HitObject`, found struct `Box`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `HitObject`
[INFO] [stdout]             found struct `Box<ray_tracing_in_one_week_rust::sphere::Sphere>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> examples/9_6_fuzzy_reflection.rs:71:15
[INFO] [stdout]    |
[INFO] [stdout] 71 |       world.add(Box::new(Sphere::new(
[INFO] [stdout]    |  _______________^
[INFO] [stdout] 72 | |         Point3::new(0.0, -100.5, -1.0),
[INFO] [stdout] 73 | |         100.0,
[INFO] [stdout] 74 | |         material_ground,
[INFO] [stdout] 75 | |     )));
[INFO] [stdout]    | |______^ expected enum `HitObject`, found struct `Box`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `HitObject`
[INFO] [stdout]             found struct `Box<ray_tracing_in_one_week_rust::sphere::Sphere>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> examples/9_3_modeling_light_scatter_and_reflectance.rs:66:15
[INFO] [stdout]    |
[INFO] [stdout] 66 |       world.add(Box::new(Sphere::new(
[INFO] [stdout]    |  _______________^
[INFO] [stdout] 67 | |         Point3::new_z(-1.0),
[INFO] [stdout] 68 | |         0.5,
[INFO] [stdout] 69 | |         Rc::new(Lambertian::new(color.clone())),
[INFO] [stdout] 70 | |     )));
[INFO] [stdout]    | |______^ expected enum `HitObject`, found struct `Box`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `HitObject`
[INFO] [stdout]             found struct `Box<ray_tracing_in_one_week_rust::sphere::Sphere>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> examples/9_5_a_scene_with_metal_spheres.rs:79:9
[INFO] [stdout]    |
[INFO] [stdout] 79 |         material_center,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ expected struct `Arc`, found struct `Rc`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Arc<(dyn Material + 'static)>`
[INFO] [stdout]               found struct `Rc<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> examples/9_6_fuzzy_reflection.rs:79:9
[INFO] [stdout]    |
[INFO] [stdout] 79 |         material_center,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ expected struct `Arc`, found struct `Rc`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Arc<(dyn Material + 'static)>`
[INFO] [stdout]               found struct `Rc<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> examples/9_3_modeling_light_scatter_and_reflectance.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 74 |         Rc::new(Lambertian::new(color)),
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `Arc`, found struct `Rc`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Arc<(dyn Material + 'static)>`
[INFO] [stdout]               found struct `Rc<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> examples/9_6_fuzzy_reflection.rs:76:15
[INFO] [stdout]    |
[INFO] [stdout] 76 |       world.add(Box::new(Sphere::new(
[INFO] [stdout]    |  _______________^
[INFO] [stdout] 77 | |         Point3::new_z(-1.0),
[INFO] [stdout] 78 | |         0.5,
[INFO] [stdout] 79 | |         material_center,
[INFO] [stdout] 80 | |     )));
[INFO] [stdout]    | |______^ expected enum `HitObject`, found struct `Box`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `HitObject`
[INFO] [stdout]             found struct `Box<ray_tracing_in_one_week_rust::sphere::Sphere>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> examples/9_5_a_scene_with_metal_spheres.rs:76:15
[INFO] [stdout]    |
[INFO] [stdout] 76 |       world.add(Box::new(Sphere::new(
[INFO] [stdout]    |  _______________^
[INFO] [stdout] 77 | |         Point3::new_z(-1.0),
[INFO] [stdout] 78 | |         0.5,
[INFO] [stdout] 79 | |         material_center,
[INFO] [stdout] 80 | |     )));
[INFO] [stdout]    | |______^ expected enum `HitObject`, found struct `Box`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `HitObject`
[INFO] [stdout]             found struct `Box<ray_tracing_in_one_week_rust::sphere::Sphere>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> examples/9_6_fuzzy_reflection.rs:84:9
[INFO] [stdout]    |
[INFO] [stdout] 84 |         material_left,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ expected struct `Arc`, found struct `Rc`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Arc<(dyn Material + 'static)>`
[INFO] [stdout]               found struct `Rc<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> examples/9_3_modeling_light_scatter_and_reflectance.rs:71:15
[INFO] [stdout]    |
[INFO] [stdout] 71 |       world.add(Box::new(Sphere::new(
[INFO] [stdout]    |  _______________^
[INFO] [stdout] 72 | |         Point3::new(0.0, -100.5, -1.0),
[INFO] [stdout] 73 | |         100.0,
[INFO] [stdout] 74 | |         Rc::new(Lambertian::new(color)),
[INFO] [stdout] 75 | |     )));
[INFO] [stdout]    | |______^ expected enum `HitObject`, found struct `Box`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `HitObject`
[INFO] [stdout]             found struct `Box<ray_tracing_in_one_week_rust::sphere::Sphere>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]   --> examples/9_3_modeling_light_scatter_and_reflectance.rs:93:36
[INFO] [stdout]    |
[INFO] [stdout] 93 |                     let r = camera.ray(u, v);
[INFO] [stdout]    |                                    ^^^ -  - supplied 2 arguments
[INFO] [stdout]    |                                    |
[INFO] [stdout]    |                                    expected 3 arguments
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/camera.rs:67:12
[INFO] [stdout]    |
[INFO] [stdout] 67 |     pub fn ray<R: RngCore>(&self, rng: &mut R, s: f64, t: f64) -> Ray {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> examples/9_5_a_scene_with_metal_spheres.rs:84:9
[INFO] [stdout]    |
[INFO] [stdout] 84 |         material_left,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ expected struct `Arc`, found struct `Rc`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Arc<(dyn Material + 'static)>`
[INFO] [stdout]               found struct `Rc<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> examples/9_6_fuzzy_reflection.rs:81:15
[INFO] [stdout]    |
[INFO] [stdout] 81 |       world.add(Box::new(Sphere::new(
[INFO] [stdout]    |  _______________^
[INFO] [stdout] 82 | |         Point3::new(-1.0, 0.0, -1.0),
[INFO] [stdout] 83 | |         0.5,
[INFO] [stdout] 84 | |         material_left,
[INFO] [stdout] 85 | |     )));
[INFO] [stdout]    | |______^ expected enum `HitObject`, found struct `Box`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `HitObject`
[INFO] [stdout]             found struct `Box<ray_tracing_in_one_week_rust::sphere::Sphere>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> examples/9_5_a_scene_with_metal_spheres.rs:81:15
[INFO] [stdout]    |
[INFO] [stdout] 81 |       world.add(Box::new(Sphere::new(
[INFO] [stdout]    |  _______________^
[INFO] [stdout] 82 | |         Point3::new(-1.0, 0.0, -1.0),
[INFO] [stdout] 83 | |         0.5,
[INFO] [stdout] 84 | |         material_left,
[INFO] [stdout] 85 | |     )));
[INFO] [stdout]    | |______^ expected enum `HitObject`, found struct `Box`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `HitObject`
[INFO] [stdout]             found struct `Box<ray_tracing_in_one_week_rust::sphere::Sphere>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> examples/9_6_fuzzy_reflection.rs:89:9
[INFO] [stdout]    |
[INFO] [stdout] 89 |         material_right,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ expected struct `Arc`, found struct `Rc`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Arc<(dyn Material + 'static)>`
[INFO] [stdout]               found struct `Rc<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> examples/9_5_a_scene_with_metal_spheres.rs:89:9
[INFO] [stdout]    |
[INFO] [stdout] 89 |         material_right,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ expected struct `Arc`, found struct `Rc`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Arc<(dyn Material + 'static)>`
[INFO] [stdout]               found struct `Rc<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> examples/9_6_fuzzy_reflection.rs:86:15
[INFO] [stdout]    |
[INFO] [stdout] 86 |       world.add(Box::new(Sphere::new(
[INFO] [stdout]    |  _______________^
[INFO] [stdout] 87 | |         Point3::new(1.0, 0.0, -1.0),
[INFO] [stdout] 88 | |         0.5,
[INFO] [stdout] 89 | |         material_right,
[INFO] [stdout] 90 | |     )));
[INFO] [stdout]    | |______^ expected enum `HitObject`, found struct `Box`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `HitObject`
[INFO] [stdout]             found struct `Box<ray_tracing_in_one_week_rust::sphere::Sphere>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]    --> examples/9_6_fuzzy_reflection.rs:108:36
[INFO] [stdout]     |
[INFO] [stdout] 108 |                     let r = camera.ray(u, v);
[INFO] [stdout]     |                                    ^^^ -  - supplied 2 arguments
[INFO] [stdout]     |                                    |
[INFO] [stdout]     |                                    expected 3 arguments
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /opt/rustwide/workdir/src/camera.rs:67:12
[INFO] [stdout]     |
[INFO] [stdout] 67  |     pub fn ray<R: RngCore>(&self, rng: &mut R, s: f64, t: f64) -> Ray {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 previous errors; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> examples/9_5_a_scene_with_metal_spheres.rs:86:15
[INFO] [stdout]    |
[INFO] [stdout] 86 |       world.add(Box::new(Sphere::new(
[INFO] [stdout]    |  _______________^
[INFO] [stdout] 87 | |         Point3::new(1.0, 0.0, -1.0),
[INFO] [stdout] 88 | |         0.5,
[INFO] [stdout] 89 | |         material_right,
[INFO] [stdout] 90 | |     )));
[INFO] [stdout]    | |______^ expected enum `HitObject`, found struct `Box`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `HitObject`
[INFO] [stdout]             found struct `Box<ray_tracing_in_one_week_rust::sphere::Sphere>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]    --> examples/9_5_a_scene_with_metal_spheres.rs:108:36
[INFO] [stdout]     |
[INFO] [stdout] 108 |                     let r = camera.ray(u, v);
[INFO] [stdout]     |                                    ^^^ -  - supplied 2 arguments
[INFO] [stdout]     |                                    |
[INFO] [stdout]     |                                    expected 3 arguments
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /opt/rustwide/workdir/src/camera.rs:67:12
[INFO] [stdout]     |
[INFO] [stdout] 67  |     pub fn ray<R: RngCore>(&self, rng: &mut R, s: f64, t: f64) -> Ray {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "b13f5f8e973b23c657339212ff54eb741b1567f8ba359c059255475e08996f85", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b13f5f8e973b23c657339212ff54eb741b1567f8ba359c059255475e08996f85", kill_on_drop: false }`
[INFO] [stdout] b13f5f8e973b23c657339212ff54eb741b1567f8ba359c059255475e08996f85
